<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>琨琨的网页世界</title>
    <style>
        *{
            margin: 0px;
        }
        #container{
            width: 300px;
            height: 300px;
            margin: 50px;
        }
        .person{
            position: absolute;
            left: 150px;
            top:160px;
            animation: print 3s ease-in infinite normal;
        }
        .head{
            position: absolute;
            width: 30px;
            height: 30px;
            border: 10px solid black;
            border-radius: 50%;
            top:-30px;
            left: -6px;
            animation: bob 2s linear 0s infinite alternate;
        }
        .body{
            width: 0px;
            height: 60px;
            border-left: 10px solid black;
            position: absolute;
            top: 18px;
            left: 0px;
        }
        .person .part{
            position: absolute;
            left:10px;
            top:75px;
       }
        .person .part.arm{
            width: 40px;
            height: 45px;
            border-left: 10px solid black;
            border-bottom: 10px solid black;
            position: absolute;
            top: 15px;
            right: 300px;
            transform-origin: 0% 0% 0px;
            animation: pump 1s ease-in-out 0s infinite normal;
        }
        .person .part.arm.left{
            transform: rotate3d(0,0,1,80deg);
        }
        .person .part.arm.right{
            transform: rotate3d(0,0,1,-80deg);
            animation-delay: 0.5s;
        }
        .person .part.leg{
            width: 60px;
            height: 60px;
            border-right: 10px solid black;
            border-top: 10px solid black;
            transform-origin: 0% 0% 0px;
            animation: run 1s ease-in-out 0s infinite normal;

        }
        .person .part.leg.left{
            transform: rotate3d(0,0,1,100deg);
        }
        .person .part.leg.right{
            transform: rotate3d(0,0,1,10deg);
            animation-delay: 0.5s;
        }
        @keyframes bob{
            0%{
                transform: rotate3d(0,0,1,5deg);
            }
            25%{
                transform: rotate3d(0,0,1,-30deg) skew(15deg,0deg);
            }
            50%{
                transform: rotate3d(0,0,1,5deg) ;
            }
            75%{
                transform: rotate3d(0,0,1,-30deg) skew(15deg,0deg);
            }
            100%{
                transform: rotate3d(0,0,1,20deg) skew(-15deg,0deg);
            }
        }
        @keyframes pump{
            0%{
                transform: rotate3d(0,0,1,80deg);
            }
            50%{
                transform: rotate3d(0,0,1,-70deg);
            }
            100%{
                transform: rotate3d(0,0,1,80deg);
            }
        }
        @keyframes run{
            0%{
                transform: rotate3d(0,0,1,-5deg);
            }
            50%{
                transform: rotate3d(0,0,1,150deg);
            }
            100%{
                transform: rotate3d(0,0,1,-5deg);
            }
        }
        @keyframes print{
            0%{
                transform: translate(-200px,0px);
            }
            100%{
                transform: translate(1800px,0px);
            }
        }
    </style>
</head>
<body>
    <div id="container">
        <div class="person">
            <div class="head"></div>
            <div class="part arm left"></div>
            <div class="part arm right"></div>
            <div class="body"></div>
            <div class="part leg left"></div>
            <div class="part leg right"></div>
        </div>
    </div>
</body>
</html>